﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Apewer.Web
{

    /// <summary>默认控制器。</summary>
    public abstract class DefaultController : ApiController
    {

        /// <summary>默认控制器实例。</summary>
        public DefaultController() : base((c) => ((DefaultController)c).Process()) { }

        /// <summary>处理请求。</summary>
        public abstract void Process();

    }

}
